/* General Styles */

* {
    box-sizing: border-box;
  }
  body {
    margin: 0;
    background: #fff;
    font-family: 'Poppins', sans-serif;
    color: #111;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
/* My project specific styles */

  .container {
    max-width: 1100px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    min-height: 220px;
  }
  .section {
    display: flex;
    align-items: center;
    border: 2px solid #222;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 2px 6px 10px rgba(0,0,0,0.09);
    opacity: 0;
    background-color:white;
    color: #03346e;
    min-height: 160px;
  }
  .icon-container {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    margin-right: 25px;
    margin-bottom: 15px;
  }
  .icon-container img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border: 2px solid #03346e;
    border-radius: 50%;
    background: #fff;
  }
  .content {
    flex: 1;
  }
  .header {
    background-color: #03346e;
    color: #fff;
    padding: 7px 15px;
    font-weight: bold;
    margin-bottom: 9px;
    text-transform: uppercase;
    width: fit-content;
    border-radius: 6px;
    font-size: 1.1em;
  }

  /* Unique color/animation per box */
  .section:nth-child(1) { border-color:#03346e; animation:slideInLeft 1s forwards; }
  .section:nth-child(2) { border-color:#03346e; animation:slideInLeft 1s forwards; }
  .section:nth-child(3) { border-color:#03346e; animation:slideInLeft 1s forwards; }
  .section:nth-child(4) { border-color:#03346e; animation:slideInLeft 1s forwards; }
  .section:nth-child(5) { border-color:#03346e; animation:slideInLeft 1s forwards; }
  .section:nth-child(6) { border-color:#03346e; animation:slideInLeft 1s forwards; }
  .section:nth-child(7) { border-color:#03346e; animation:slideInLeft 1s forwards; }
  .section:nth-child(8) { border-color:#03346e; animation:slideInLeft 1s forwards; }
  @keyframes slideInLeft {0%{opacity:0;transform:translateX(-100px);}100%{opacity:1;transform:translateX(0);}}


.tags {
  margin-top: 12px;
}
.tag {
  display: inline-block;
  background:#03346e;
  color:white;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 5px;
  margin-right: 8px;
  margin-bottom: 8px;
  margin-left: 10px;
  cursor: default;
  user-select: none;
  transition: background-color 0.3s ease;
}
.tag:hover {
  background-color: black;
}

p
{
  margin-left: 10px;
}


/* Header */
  
  header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 3rem 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
  /* Logo */
  .logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    gap: 6px;
    color: #222;
    user-select: none;
  }
  .logo svg {
    width: 28px;
    height: 28px;
    fill: #6b46c1;
  }

  /* Nav */
  nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  nav a {
    text-decoration: none;
    font-size: 1rem;
    color: black;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
  }
  nav a:hover, nav a.active {
    color: #03346e;
  }

  /* Contact Us button */
  .contact-btn {
    display: flex;
    align-items: center;
    background:#03346e;
    border-radius: 50px;
    padding: 9px 18px;
    border: 2px solid #03346f;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  .contact-btn:hover {
    background: #fff;
    color: #6b46c1;
  }
  .contact-btn svg {
    margin-left: 8px;
    width: 16px;
    height: 16px;
    stroke: white;
    stroke-width: 2;
    transition: stroke 0.3s ease;
  }
  .contact-btn:hover svg {
    stroke: #6b46c1;
  }

/* Hero Section */
  .hero {
    background: #03346e;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
  }
  .hero h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: white;
  }
  .hero p {
    font-size: 1.2em;
    color: white;
    max-width: 600px;
    margin: 0 auto;
  }

/* Footer */

 .site-footer {
    background: #03346e;
    color: white;
    font-family: 'Poppins', sans-serif;
    padding: 3.5rem 2rem 1.5rem;
  }
  .footer-container {
    max-width: 1120px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
  }
  .footer-brand {
    flex: 1 1 380px;
  }
  .footer-brand h2 {
    font-size: 2.4rem;
    margin: 0 0 1rem;
    font-weight: 900;
    color: white;
  }
  .footer-brand p {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 1.8rem;
    color: white;
  }
  .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 10px;
  }
  .social-link {
    background: white;
    color: #CCC;
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
  }
  .social-link:hover {
    background: #03346e;
    color: #FFF;
  }
  .footer-links {
    display: flex;
    gap: 2.5rem;
    flex: 2 1 600px;
    flex-wrap: wrap;
  }
  .footer-links .col {
    min-width: 150px;
  }
  .footer-links h3 {
    color: #DDD;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid white;
    padding-bottom: 0.4rem;
  }
  .footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .footer-links ul li {
    margin-bottom: 1rem;
  }
  .footer-links ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }
  .footer-links ul li a:hover {
    color: yellow;
  }
  .footer-bottom {
    border-top: 1px solid white;
    margin-top: 3rem;
    padding-top: 1.3rem;
    text-align: center;
    color: white;
    font-size: 0.9rem;
  }
  @media (max-width: 900px) {
    .footer-container {
      flex-direction: column;
      gap: 2rem;
    }
    .footer-links {
      flex-wrap: wrap;
    }
    .footer-links .col {
      min-width: 200px;
      flex: 1 1 45%;
    }
  }
  @media (max-width: 480px) {
    .footer-links .col {
      min-width: 100%;
      flex: 1 1 100%;
    }
  }
/*animations for floating icons*/
  .icon {
      position: absolute;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 28px;
      color: white;
    }

    .html { background: #e44d26; left: 20%; animation: float 6s infinite; }
    .css { background: #264de4; left: 40%; animation: float 7s infinite; }
    .js { background: #f0db4f; color: #000; left: 60%; animation: float 5s infinite; }
    .python { background: #3776ab; left: 80%; animation: float 8s infinite; }

    @keyframes float {
      0% { top: 100%; opacity: 0; }
      50% { opacity: 1; }
      100% { top: -10%; opacity: 0; }
    }